//
//  TTIPickerView.h
//  iOSCodeProject
//
//  Created by zym on 14-7-21.
//  Copyright (c) 2014年 翔傲信息科技（上海）有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

//自定义的数据选择器


//自定义block
typedef void(^TTIPickerViewBlock)(NSInteger  row, NSString *titleOfRow);

@interface TTIPickerView : UIView

@property (nonatomic, strong) NSMutableArray *sourceArray;
@property (nonatomic, copy) TTIPickerViewBlock block;

-(void)show:(void(^)(NSInteger row, NSString *titleOfRow))block;

@end
